import React, { Component } from 'react'
import HomeInfo from './HomeInfo'

import HomeBanner from './HomeBanner'

export class Home extends Component {
  render () {
    const { name, age } = this.props

    return (
      <div>
        Home
        <p>name {name} age:{age}</p>
        <hr />
        <HomeBanner />
        <hr />
        <HomeInfo />
      </div>
    )
  }
}

export default Home